e7e84b52f6a423f71be7c1df1b67dc3a922f3d39,src/java/org/jivesoftware/spark/filetransfer/ChatRoomTransferDecorator.java,ChatRoomTransferDecorator,ChatRoomTransferDecorator,#ChatRoom#,57

Before Change


        chatRoom.addClosingListener(this);

        // See if we should disable the ability to transfer files
        if (!Default.getBoolean("DISABLE_FILE_XFER")) {
        	sendFileButton = UIComponentRegistry.getButtonFactory().createSendFileButton();
        	sendFileButton.setToolTipText(Res.getString("message.send.file.to.user"));

        	chatRoom.addChatRoomButton(sendFileButton);
        	sendFileButton.addActionListener(this);
        }

After Change


    	sendFileButton = UIComponentRegistry.getButtonFactory().createSendFileButton();
    	sendFileButton.setToolTipText(Res.getString("message.send.file.to.user"));

    	chatRoom.addChatRoomButton(sendFileButton);
    	sendFileButton.addActionListener(this);

    	sendScreenShotButton = UIComponentRegistry.getButtonFactory().createScreenshotButton();